package cn.xxliang.platapp.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.NotNull;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("产品和服务关联信息Dto")
public class ProductServiceReDto {
    @ApiModelProperty("主键ID")
    private String productServiceReId;

    @ApiModelProperty(value = "平台产品ID", required = true)
    @NotNull(message = "平台产品ID不能为空")
    private String platformProductId;

    @ApiModelProperty(value = "服务类别 0-专载 1-默载", allowableValues = "0,1")
    @NotNull(message = "服务类别不能为空")
    private Integer serviceClassify;

    @ApiModelProperty(value = "服务名称",required = true)
    @NotNull(message = "服务名称不能为空")
    private String serviceName;

    @ApiModelProperty(value = "功能ID", required = true)
    @NotNull(message = "功能ID不能为空")
    private String menuId;
    
    //交互说明：必须先选择通信服务信息才能选择QoS产品信息，否则QoS产品信息不展示下拉框；
    @ApiModelProperty(value = "通信服务ID", required = true)
    @NotNull(message = "通信服务ID不能为空")
    private String csServiceId;

    @ApiModelProperty("创建时间")
    private String createTime;

    @ApiModelProperty("更新时间")
    private String updateTime;
}


